//
//  UILabel+Extension.h
//  GongDan
//
//  Created by 了凡 on 16/1/20.
//  Copyright © 2016年 河北广联. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (Extension)


/**快速设置label属性*/
+ (UILabel *)labelWithTextColor:(UIColor *)textColor font:(CGFloat)textFont backgroundColor:(UIColor *)backColor Text:(NSString *)text ;

- (instancetype)initWithFrame:(CGRect)frame
                         font:(UIFont *)font
                    textColor:(UIColor *)color
                textAlignment:(NSTextAlignment)alignment;

- (instancetype)initWithFrame:(CGRect)frame
                         font:(UIFont *)font
                    textColor:(UIColor *)color;

/**
 *  改变行间距
 */
+ (void)changeLineSpaceForLabel:(UILabel *)label WithSpace:(float)space;


/**
 *  两端对齐
 */
+ (void)changeAligentLabel:(UILabel *)label withLabelWith:(CGFloat)labelWidth withFont:(UIFont *)font;


@end
